package com.norra.client.ui

import android.os.Bundle
import com.norra.base.api.entity.MsgList
import com.norra.client.R
import kotlinx.android.synthetic.main.activity_notice.*

class NoticeActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_notice)
        setUpToolBar()
        supportActionBar?.title = "Notice"

        val noticeInfo = intent.getSerializableExtra("info") as MsgList.MsgInfo
        time.text = noticeInfo.time
        content.text = noticeInfo.content

    }
}